RM_PagBank\Helpers\Recurring C

Total Complexity 108
Dependencies 8
Dependents 15
Total lines 521
Lines of code 369
Logical lines of code 250
Comment lines 60
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
getRecurringTermsFromCart()
C
31 28 107
areBenefitsActive()
A
55 8 20
getFriendlyStatus()
A
55 8 20
getCartRecurringTrial()
S
56 7 18
calculateNextBillingDate()
S
53 6 23
isCartRecurring()
S
55 6 20
hasSubscriptionDiscountRemaining()
S
55 5 19
getFriendlyType()
S
59 5 14
getStatusFromOrder()
S
63 5 12
hasSubscriptionChargeRemaining()
S
56 4 18
canAccessRestrictedContent()
S
58 4 13
isProductRecurring()
S
62 4 11
getRecurringAmountFromOrderItems()
S
62 3 11
isSubscriptionUpdatePage()
S
65 3 8
getAdminSubscriptionDetailsUrl()
S
62 3 10
translateFrequencyTermsPlural()
S
61 2 12
translateFrequency()
S
61 2 12
hasDiscount()
S
75 2 4
subscriptionActionUrl()
S
66 2 8
getAllStatuses()
S
64 1 9